package com.gerald.shop.service;

import com.gerald.shop.entity.GoodsEntity;

import java.util.List;
import java.util.Map;

/**
 * @author Gerald 2022/1/6 19:34
 * description:
 */
public interface IGoodsSearchService {

    public void add(GoodsEntity goodsEntity) throws Exception;

    public List<GoodsEntity> search(Map<String, Object> param) throws Exception;

    public void deleteId(Integer id) throws Exception;

    /**
     *@author Gerald 2022/1/6 21:13
     *description:删除es中的索引
     */
    public void clean() throws Exception;
}
